package cn.bellychang.anemicVsdomain.anemic;

import lombok.Builder;
import lombok.Data;
import org.joda.money.Money;

import java.util.Date;

/**
 * 合同
 * @author ChangLiang
 * @date 2020/5/18
 */
@Data
@Builder
public class Contract {

    private Long id;

    /**
     * 合同的产品
     */
    private Long productId;

    /**
     * 金额
     */
    private Money revenue;

    /**
     * 签订日期
     */
    private Date signedDate;
}
